﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/OneColumn.Master" AutoEventWireup="true"
    CodeBehind="CheckoutShippingMethod.aspx.cs" Inherits="CS424_9pts.CheckoutShippingMethod" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="Server">
    <div class="checkout-page">
        <div class="order-progress">
            <ul>
                <li>
                    <asp:HyperLink runat="server" ID="hlCart" Text="Cart" CssClass="inactive-step" NavigateUrl="~/ShoppingCart.aspx">
                    </asp:HyperLink></li>
                <li>
                    <asp:HyperLink runat="server" ID="hlAddress" Text="Address" CssClass="inactive-step"
                        NavigateUrl="~/CheckoutShippingAddress.aspx">
                    </asp:HyperLink></li>
                <li>
                    <asp:HyperLink runat="server" ID="hlShipping" Text="Shipping" CssClass="active-step"
                        NavigateUrl="~/CheckoutShippingMethod.aspx">
                    </asp:HyperLink></li>
                <li>
                    <asp:HyperLink runat="server" ID="hlPayment" Text="Payment" CssClass="inactive-step">
                    </asp:HyperLink></li>
                <li>
                    <asp:HyperLink runat="server" ID="hlConfirm" Text="Confirm" CssClass="inactive-step">
                    </asp:HyperLink></li>
                <li>
                    <asp:HyperLink runat="server" ID="hlComplete" Text="Complete" CssClass="inactive-step">
                    </asp:HyperLink></li>
            </ul>
        </div>
        <div class="clear">
        </div>
        <div class="page-title">
            <h1>
                SelectShippingMethod</h1>
        </div>
        <div class="clear">
        </div>
        <div class="checkout-data">
            <div class="shipping-options">
                <asp:Panel runat="server" ID="phSelectShippingMethod">
                    <asp:DataList runat="server" ID="dlShippingOptions">
                        <ItemTemplate>
                            <div class="shipping-option-item">
                                <div class="option-name">
                                    Select Method
                                </div>
                                <div class="option-description">
                                    Description
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                    <div class="clear">
                    </div>
                    <div class="select-button">
                        <asp:Button runat="server" ID="btnNextStep" Text="Next" CssClass="shippingmethodnextstepbutton"
                            ValidationGroup="SelectShippingMethod" />
                    </div>
                </asp:Panel>
                <div class="clear">
                </div>
                <div class="error-block">
                    <div class="message-error">
                        <asp:Literal runat="server" ID="lShippingMethodsError" EnableViewState="false"></asp:Literal>
                    </div>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
        <div class="order-summary-title">
            Order summary
        </div>
        <div class="clear">
        </div>
        <div class="order-summary-body">
            <asp:Panel class="order-summary-content" runat="server" ID="pnlCart">
                <asp:Panel runat="server" ID="pnlCommonWarnings" CssClass="warning-box" EnableViewState="false"
                    Visible="false">
                    <asp:Label runat="server" ID="lblCommonWarning" CssClass="warning-text" EnableViewState="false"
                        Visible="false"></asp:Label>
                </asp:Panel>
                <table class="cart">
                    <thead>
                        <tr class="cart-header-row">
                            <th class="picture">
                            </th>
                            <th>
                                Product(s)
                            </th>
                            <th>
                                Price
                            </th>
                            <th>
                                Qty.
                            </th>
                            <th class="end">
                                Total
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <asp:Repeater ID="rptShoppingCart" runat="server">
                            <ItemTemplate>
                                <tr class="cart-item-row">
                                    <td class="productpicture">
                                        <asp:Image ID="iProductVariantPicture" runat="server" AlternateText="Product picture" />
                                    </td>
                                    <td class="product">
                                        <%--    <%#Server.HtmlEncode(GetProductVariantName((ShoppingCartItem)Container.DataItem))%></a>
                            <%#GetAttributeDescription((ShoppingCartItem)Container.DataItem)%>
                            <%#GetRecurringDescription((ShoppingCartItem)Container.DataItem)%>--%>
                                        <asp:Panel ID="pnlWarnings" runat="server" CssClass="warning-box" EnableViewState="false"
                                            Visible="false">
                                            <asp:Label ID="lblWarning" runat="server" CssClass="warning-text" EnableViewState="false"
                                                Visible="false"></asp:Label>
                                        </asp:Panel>
                                        </a>
                                    </td>
                                    <td style="white-space: nowrap;">
                                        <asp:Label ID="lblPriceUnit" runat="server">Price</asp:Label>
                                    </td>
                                    <td style="white-space: nowrap;">
                                        <asp:TextBox ID="txtQuantity" runat="server" size="4" SkinID="ShoppingCartQuantityText"
                                            Text='<%# Eval("Quantity") %>' />
                                    </td>
                                    <td class="end" style="white-space: nowrap;">
                                        <asp:Label ID="lblShoppingCartItemId" runat="server" Text='<%# Eval("ShoppingCartItemId") %>'
                                            Visible="false" />
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </tbody>
                </table>
                <div class="clear">
                </div>
                <div class="selected-checkout-attributes">
                </div>
                <div class="clear">
                </div>
                <div class="clear">
                </div>
                <div class="totals">
                    <div class="total-info">
                        <table class="cart-total">
                            <tbody>
                                <tr>
                                    <td class="cart_total_left">
                                        <strong><span style="white-space: nowrap;">Sub-Total:</span></strong>
                                    </td>
                                    <td class="cart_total_right">
                                        <span style="white-space: nowrap;">
                                            <asp:Label ID="lblSubTotalAmount" runat="server" CssClass="productPrice" />
                                        </span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="cart_total_right">
                                        <span style="white-space: nowrap;">
                                            <asp:Label ID="lblTotalAmount" runat="server" CssClass="productPrice" />
                                        </span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="clear">
                </div>
                <div class="clear">
                </div>
            </asp:Panel>
        </div>
    </div>
</asp:Content>
